<div id="category_products_left_block" class="" style="float: left; width: 800px;">
    products here
</div>

<div id="category_products_left_block" class="" style="float: left; width: 200px;">
    <div id="sub_categories_block" class="" style="float: left; height: 150px;">
        <?php foreach($categories as $category) { ?>
            <a id="category_<?php $category['id'] ?>" href="" class="" style="">
                <?php echo $category['name']; ?>
            </a>
            <div class="separate"></div>
        <?php }?>        
    </div>
    <div class="separate"></div>

    <div id="active_subcategory" class="" style="display: block; position: relative; float: left;">
    </div>
    <div class="separate"></div>

    <div id="social" class="" style="display: block; position: relative; float: left;">
    </div>
</div>